//
//  UIUtils.h
//  WXTime
//
//  Created by  on 12-7-22.
//  Copyright (c) 2012年 www.iphonetrain.com  All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UIUtils : NSObject

// 获取documents下的文件路径
+ (NSString *)getDocumentsPath:(NSString *)fileName;

// date 格式化为 string
+ (NSString*)stringFromFomate:(NSDate*)date formate:(NSString*)formate;

// string 格式化为 date
+ (NSDate *)dateFromFomate:(NSString *)datestring formate:(NSString*)formate;

+ (NSString *)fomateString:(NSString *)datestring;


//网络监听
+ (int)networkMonitoring;


+ (void)openLink:(NSURL *)url view:(UIView *)view;


@end
